package com.system.service.monitor.logs;

import com.baomidou.mybatisplus.extension.service.IService;
import com.system.entity.monitor.logs.SysOperLog;
import com.system.response.Result;
import com.system.response.monitor.logs.OperLogDtoResponse;

public interface SysOperLogService extends IService<SysOperLog> {
    /**
     * 新增操作日志
     * @param operLog
     */
    void insertOperLog(SysOperLog operLog);

    /**
     * 批量删除操作日志
     * @param ids
     */
    Result deleteOperLogByIds(Long[] ids);

    /**
     * 清空操作日志
     * @return
     */
    Result cleanOperLog();

    /**
     * 条件查询操作日志
     * @param operLogDto
     * @return
     */
    Result selectOperLogList(OperLogDtoResponse operLogDto);
}
